<div>
  <h3>当前状态: <?=$status?></h3>
</div>
<div id="result">
</div>
<div>
  <label for="defense">布防</label>
  <input type="radio" name="defense" value="yes" />
  <label for="defense">撤防</label>
  <input type="radio" name="defense" value="no" />
    <input type="button" value="设置" onclick="do_defense(<?=$devid?>)"/>
</div>


